{% extends 'profiles/base_profile.html' %}
{% load staticfiles %}
{% load cropping %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block extra_css %}
  {{ form.media }}
  {{ block.super }}
{% endblock extra_css %}

{% block title %}{% trans "Avatar" %}{% endblock %}

{% block content %}
<div class="row clearfix">
    <div class="col-md-4 column">
        <h3>
			{{profile.get_full_name_or_username|capfirst}}'s avatar.
		</h3>
		<p>
		    {% if profile.avatar %}
            <img class="img-circle" src="{% cropped_thumbnail profile avatar_cropping scale=2 %}">
            {% endif %}
        </p>
    </div>
	<div class="col-md-6 column">
        <legend>{% trans "Avatar" %}</legend>
        {% crispy form %}
    </div>
    <div class="col-md-2 column">
    </div>
</div>
{% endblock content %}

